package Hungry;

public class AnimalTest {
    public static void main(String[] args) {
        Animal an = Animal.getInstance();
        an.age =11;
        an.name ="大头";
        System.out.println("年龄为"+an.age+"  名字为"+an.name);
    }
}
